level : 1
신호연
January 9, 2023
def solution(t, p): t_len = len(t);p_len = len(p) answer = 0 p = int(p) for idx in range(t_len-p_len+1): num = int(t[idx:idx+p_len]) if num <= p: answer+=1 else: pass return answer